<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>用户新增</h1>
<form action="" method="post">
    姓名&nbsp;&nbsp;<input type="text" name="truename">
    <br>
    用户名&nbsp;&nbsp;<input type="text" name="uname">
    <br>
    密码&nbsp;&nbsp;<input type="text" name="pwd">
    <br>
    电话&nbsp;&nbsp;<input type="text" name="tel">
    <br>
    <input type="radio" name="sex" value="1">男
    <input type="radio" name="sex" value="2">女
    <br>
    角色&nbsp;&nbsp;
    <select name="eid" id="eid">
        {% for i in listl %}
            <option value="{{ i.id }}">{{ i.rolename }}</option>
        {% endfor %}
    </select>
    <br>
    地址&nbsp;&nbsp;<input type="text" name="address">
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>